@import '~antd/es/style/themes/default.less';

html,
body,
#root {
  height: 100%;
 
}
.colorWeak {
  filter: invert(80%);
}

.row{
  display: flex;
}

.rowcenter{
  display: flex;
  justify-content: center;
  align-items: center;
}

.column{
  display: flex;
  flex-direction: column;
}

.columncenter{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.spacebt{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100% !important;
  .sect{
    position: relative;
   &::after{
     content: '';
     width: 100%;
     background-color: @primary-color;
     height: 1px;
     position: absolute;
     left:0;
     top: 33px;
   }
 }
}
.spacebtl{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  width: 100% !important;
  .sect{
    position: relative;
   &::after{
     content: '';
     width: 100%;
     background-color: @primary-color;
     height: 1px;
     position: absolute;
     left:0;
     top: 40px;
   }
 }
}

.react-custom-scrollbars-fix::-webkit-scrollbar {
  width: 7px;
}
.ant-layout{
  background-color: #f9f9f9 !important;
}

.ant-layout-sider-children{
  display: flex;
  flex-direction: column;
}


.slideCaptchaContainer .panel{
  bottom: 50px !important;
  display: block !important;
}


.steps-content{
  background-color: #fff;
  margin-top: 36px;
}
.steps-action{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.whiteline{
  .ant-steps-item-title::after{
    background-color: #ddd !important;
  }
}

.pagetitle{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 18px;
  color: #333;
  padding: 12px 12px 0px 12px;
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  border-bottom:@primary-color solid 2px;
  margin-bottom: 10px;
  .ant-tabs > .ant-tabs-nav{
    margin-bottom: -1px;
  }
}
.fixedsearch {
  position: fixed;
  right: 0px;
  bottom: 188px;
  z-index: 999;
  width: 43px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  .action{
    border-radius: 4px 0 0 4px;
    margin-bottom: 12px;
  }
}
.action{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color:  @primary-color;
  height: 36px;
  width: 100%;
  padding: 0 12px;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 2px;
  font-size: 14px;
  span{
    font-size: 20px;
  }
}
.pgcontainer {
  height: 100%;
  overflow: hidden;
}

.ant-layout-content {
  height: 100%;
}

.gcheader{
  background-color: #959595;
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  height: 44px !important;
  line-height: 44px !important;
}

.hoverable{
  color: #666;
  cursor: pointer;
  &:hover{
    color: @primary-color;
  }
}

.actives{
  color: @primary-color;
  position: relative;
  &::after{
    content: '';
    width: 100%;
    background-color: @primary-color;
    height: 1px;
    position: absolute;
    left:0;
    top: 33px;
  }
}

.noactive{
  color: #999;
  position: relative;
}

.slideCaptchaContainer .control .slider{
  line-height: 35px !important;
}


.ulslider{
  width: 200px;
  height:100%;
  flex-shrink: 0;
  padding: 20px 0;
  background-image: linear-gradient(180deg, #91daff 0%,  #2e68b1 100%);

  li{
    padding: 0 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    height: 36px;
    line-height: 36px;
    &:hover{
      background-color: #4297df;

    }
  }
}
.heia{
  color: #666;
  word-break: keep-all;
  &:hover{
    color: @primary-color;
  }
}
.exndgq{
  max-width: 1200px !important;
  width: 100% !important;
}
.content{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.contents{
  max-width: 1200px;
  width: 100%;
  height: 46px;
  overflow: hidden;
  margin: 0 auto;
  >div{
    width: 100%;
  }
}

.ulBox {
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  .liItem {
    float: left;
    width: 243px;
    .liDiv {
      box-sizing: border-box;
      width: 225px;
      height: 350px;
      margin-right: 15px;
      margin-bottom: 15px;
      background-color: #fff;
      cursor: pointer;
      transition: all 0.2s linear 0s;
      &:hover {
        box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
        transform: translate3d(0, -2px, 0);
      }
      .liImg {
        width: 100%;
        height: 230px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
      }
      .liText {
        padding: 10px;
        .bottomText {
          width: 100%;
          color: #aaa;
        }
        .description {
          display: -webkit-box;
          margin-bottom: 5px;
          overflow: hidden;
          font-size: 12px;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          height: 36px;
        }
      }
    }
  }
  .oneLine {
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

.ant-pro-basicLayout-content {
  margin: 12px !important;
}

.ant-pro-global-footer-copyright {
  color: rgba(255, 255, 255, 0.6)
}

.ant-pro-table-list-toolbar-right {
  flex: 1 !important;
  justify-content: space-between !important;
}

.ant-pro-table-list-toolbar-filter {
  margin-left: 0px !important;
}
.ant-card{
  height: 100% !important;
}
.ant-card-body {
  padding: 20px;
  margin-top: 1px !important;
  height: 100% !important;
  overflow: hidden;
}
.autotable{
  
  .ant-card-body {
    padding: 0px 6px !important;
    margin-top: 1px !important;
    height: 100% !important;
    overflow: hidden;
  }
}
.novia{
    .ant-card-body {
    padding: 0px !important;
    margin-top: 1px !important;
    height: 100% !important;
    overflow: hidden;
  }
}

.ant-tabs-large > .ant-tabs-nav .ant-tabs-tab{
  font-size: 14px !important;
}
.ant-pro-list .ant-pro-list-row{
  padding: 6px 12px !important;
}
.ant-pro-list .ant-pro-table-alert{
  display: none !important;
}
.tocopy{
  .ant-typography-expand, .ant-typography-edit, .ant-typography-copy{
    color: #ffffff !important;
    margin: 0 !important;
    margin-top: -4px !important;
  }
}
.actionbox{
  width: 32px;
  height: 32px;
  background-color: @primary-color;
  cursor: pointer;
  margin-left: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  >img{
    width: 16px;
    height: 16px;
  }
}

@media screen and (max-width: 768px) {
  .ant-card-body {
    padding: 0 ;
    background-color: #eef0f3 !important;
    margin: 0px !important;
  }
  .ant-card-bordered{
    border: none !important;
  }
}

.am-list-body {
  background-color: transparent !important;
  border: none !important;
  &::before {
    background-color: transparent !important;
  }

  &::after {
    background-color: transparent !important;
  }
}

.ant-pro-card-body {
  padding: 12px !important;
}

.ant-pro-card-header {
  padding: 12px !important;
}

.am-list-header {
  padding: 0px !important;
}

.ant-card-head {
  padding: 0px 20px !important;
}


.am-list-view-scrollview-content {
  min-width: 200px !important;
  width: 100% !important;
  height: 100% !important;
}

.minw{
  .ant-descriptions-item-label{
    min-width: 70px !important;
    text-align: right;
    display: inline-block !important;
  }
}
.ant-card-head-title {
  padding: 18px 0px 0px 0px !important;
}

.nopa{
  .ant-card-head-title{
    padding: 12px 0px !important;
  }
}

.title {
  font-size: 16px;
  color: #333;
  padding-left: 12px;
  position: relative;
  margin-bottom: 12px;
  display: block;
  &::before {
    position: absolute;
    content: '';
    width: 4px;
    height: 19px;
    left: 0px;
    top: 4px;
    background-color: @primary-color;
  }
}
.tabEchart .ant-card-head-title {
  padding: 1px 0px !important;
}

.ant-select-dropdown {
  min-width: 300px !important;
  max-width: 300px !important;
  width: 300px !important;
}

.ant-modal-confirm-content {
  margin-top: 12px !important;
  margin-left: 0px !important;
}

canvas {
  display: block;
}

.notrans {
  .am-pull-to-refresh-content {
    transform: none !important;
    transition: all 0s;
  }

  .ifixed {
    top: 0px !important;
    transition: all 0s;
  }
}

.trans {
  .ifixed {
    top: 24px !important;
    transition: all 0s;
  }
}

.center {
  display: flex !important;
  align-items: center;
  justify-content: center;
}


.ant-pro-card-header {
  padding: 12px !important;
}

.ant-tag {
  margin-right: 0px;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ant-layout-footer {
  background-color: transparent;
}


.ant-card-head .ant-tabs {
  margin-bottom: -13px !important;
}

.oneline{
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mainsd{
  margin:-20px !important 
}
.bg {
  background-image: linear-gradient(145deg, #91daff 0%, #7bd1ff 25%, #ffa7ea 50%, #7bd1ff 75%, #91daff 100%);
  background-size: 400% 400%;
  animation: bgmove 20s linear 0s infinite alternate forwards;
}

.bglight {
  background-image: linear-gradient(145deg, #bee9ff 0%, #99dbff 25%, #ffc4f1 50%, #99dbff 75%, #bee9ff 100%);
  background-size: 400% 400%;
  animation: bgmove 20s linear 0s infinite alternate forwards;
}

.bgtext{  
  background-image:linear-gradient(145deg,#91daff 0%,#7bd1ff 25%,#ffa7ea 50%,#7bd1ff 75%,#91daff 100%); 
  background-clip:text; 
  -webkit-text-fill-color:transparent; 
}

.hoverable{
  .iconcon{
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 0.4s;
    width: 100%;
    height: 100%;
    position: relative;
  }
}
.ant-typography{
  color: inherit !important;
}
.diycards{
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px !important;
  flex-direction: column;
  color: #fff;
  transition: all 0.4s;
  margin-bottom: 18px;
  cursor: pointer;
  overflow: hidden;
  border:#f0f0f0 solid 1px;
  background-image: linear-gradient(145deg, #91daff 0%,  #3195c7 100%);
}
.diycardactive{
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px !important;
  flex-direction: column;
  color: #fff;
  transition: all 0.4s;
  margin-bottom: 18px;
  cursor: pointer;
  overflow: hidden;
  border:#f0f0f0 solid 1px;
  background-color:@primary-color;

}
.diycard{
  padding: 12px;
  background-color:#f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px !important;
  flex-direction: column;
  color: #333;
  transition: all 0.4s;
  margin-bottom: 18px;
  cursor: pointer;
  overflow: hidden;
  border:#f0f0f0 solid 1px;
  &:hover{
    background-color: @primary-color;
    color: #fff;
    border:@primary-color solid 1px;
    transition: all 0.4s;
  }
}


@keyframes bgmove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;

    &-thead>tr,
    &-tbody>tr {

      >th,
      >td {
        white-space: pre;

        >span {
          display: block;
        }
      }
    }
  }
}

// 兼容IE11
@media screen and(-ms-high-contrast: active),(-ms-high-contrast: none) {
  body .ant-design-pro>.ant-layout {
    min-height: 100vh;
  }
}